Configure Inter-VRF IPv4 Accept Policies on VRFs
Before you begin
-
Enable IS-IS globally.
-
Ensure that a route policy exists.
-
Ensure that the VRFs exist.
-
Configure a route-map.
About this task
Configure IS-IS accept policies on a VRF to use inter-VRF accept policies in the SPB cloud. You can use IS-IS accept policies to redistribute routes between different VRFs, including the global routing table (GRT). First you apply the filter, and then you match the filter based on the I-SID, which represents the Layer 3 VSN context.
Note
-
The isis apply accept [vrf WORD<1-16>] command can disrupt traffic and cause temporary traffic loss. After you apply isis apply accept [vrf<1-16>], the command reapplies the accept policies, which deletes all of the IS-IS route,s and adds the IS-IS routes again. You should make all the relevant accept policy changes, and then apply isis apply accept [vrf WORD<1-16>] at the end.
-
If you use the accept command for inter-VRF routes based on the remote I-SID, the device only accepts routes coming from remote BEBs. For instance, if a local Layer 3 VSN exists with the same I-SID, the device does not add the local routes. The assumption is that the device uses existent methods, either through use of another protocol or static configuration, to obtain those routes.
-
If the route policy changes, you must reapply the IS-IS accept policy, unless it was the last sequence in the configuration.
Procedure
Example
Configure Inter-VRF accept policies on a VRF:
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#router vrf green Switch:1(router-vrf)#isis accept i-sid 100 Switch:1(router-vrf)#isis accept i-sid 100 enable Switch:1(router-vrf)#exit Switch:1(config)#isis apply accept vrf green
Variable definitions
The following table defines parameters for the ip isid-list command.
Variable |
Value |
---|---|
WORD<1-32> |
Creates a name for your I-SID list. |
<0-16777215> |
Specifies an I-SID value. |
list WORD<1-1024> |
Specifies a list of I-SID values. For example, in the format 1,3,5,8-10. |
The following table defines parameters for the isis accept command.
Variable |
Value |
---|---|
adv-rtr <x.xx.xx> |
Specifies a specific advertising BEB in which to apply the IS-IS accept policy to routes for a specific advertising BEB. x.xx.xx specifies an SPBM nickname. The system uses the default global filter unless a filter for a specific advertising BEB exists, in which case the system applies a more specific filter. The system requires an explicit filter to redistribute routes from a particular VSN. If the default global filter or the filter for a specific advertising BEB does not exist, the system does not redistribute the routes from the remote VSN. |
enable |
Enables the IS-IS accept policy. |
i-sid <0-16777215> |
Configures the I-SID to which the IS-IS accept policy applies. An I-SID value of 0 represents the global routing table (GRT). |
isid-list WORD<1-32> |
Configures a list of I-SIDs to which the IS-IS accept policy applies. An I-SID value of 0 represents the global routing table (GRT). |
route-map WORD <1-64> |
Specifies a route policy. You must configure a route policy earlier in a separate procedure. |
The following table defines parameters for the isis apply accept command.
Variable |
Value |
---|---|
vrf WORD<1-16> |
Specifies a specific VRF instance. |